home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmDeactivateProtocol.z
/
XmDeactivateProtocol
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll - A VendorShell function that
deactivates a protocol without removing it
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
#include <Xm/Protocols.h>
vvvvooooiiiidddd XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll(
WWWWiiiiddddggggeeeetttt sssshhhheeeellllllll,
AAAAttttoooommmm pppprrrrooooppppeeeerrrrttttyyyy,
AAAAttttoooommmm pppprrrroooottttooooccccoooollll);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll deactivates a protocol without removing
it. It updates the handlers and the _p_r_o_p_e_r_t_y if the _s_h_e_l_l
is realized. It is sometimes useful to allow a protocol's
state information (callback lists, and so on) to persist,
even though the client may choose to temporarily resign from
the interaction. The main use of this capability is to
gray/ungray ffff....sssseeeennnndddd____mmmmssssggggentries in the MWM system menu. To
support this capability, _p_r_o_t_o_c_o_l is allowed to be in one of
two states: active or inactive. If _p_r_o_t_o_c_o_l is active and
_s_h_e_l_l is realized, _p_r_o_p_e_r_t_y contains the _p_r_o_t_o_c_o_l AAAAttttoooommmm. If
_p_r_o_t_o_c_o_l is inactive, AAAAttttoooommmm is not present in the _p_r_o_p_e_r_t_y.
XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeeWWWWMMMMPPPPrrrroooottttooooccccoooollll is a convenience interface. It calls
XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollllwith the property value set to the atom
returned by interning WWWWMMMM____PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLLSSSS.
_s_h_e_l_l Specifies the widget with which the protocol
property is associated
_p_r_o_p_e_r_t_y Specifies the protocol property
_p_r_o_t_o_c_o_l Specifies the protocol atom
For a complete definition of VendorShell and its associated
resources, see VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
mmmmwwwwmmmm(1), VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3), XXXXmmmmAAAAccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll(3),
XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeeWWWWMMMMPPPPrrrroooottttooooccccoooollll(3), and XXXXmmmmIIIInnnntttteeeerrrrnnnnAAAAttttoooommmm(3).
Page 1 (printed 10/24/98)